package com.hx.common.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.joda.time.DateTime;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor

public class MqLog {
	private int id;
	private String content;
	private String exchange;
	private String routingKey;
	private String classType;
	// 0-新建，1-已发送，2-已抵达exchange，3-已消费
	private Integer state;

	@Override
	public String toString() {
		return "MqLog{" +
				"id=" + id +
				", content='" + content + '\'' +
				", exchange='" + exchange + '\'' +
				", routingKey='" + routingKey + '\'' +
				", classType='" + classType + '\'' +
				", state=" + state +
				'}';
	}
}
